package com.zy.datareceiver.binsess.warning.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "warning_level")
public class WarningLevel {
    /**
     * 预警等级id
     */
    @Id
    private Integer id;

    /**
     * 预警等级名称
     */
    @Column(name = "level_name")
    private String levelName;

    /**
     * 获取预警等级id
     *
     * @return id - 预警等级id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置预警等级id
     *
     * @param id 预警等级id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取预警等级名称
     *
     * @return level_name - 预警等级名称
     */
    public String getLevelName() {
        return levelName;
    }

    /**
     * 设置预警等级名称
     *
     * @param levelName 预警等级名称
     */
    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }
}